<?php


namespace Drupal\wx_pay;


class WxPayMiniPayController extends WxPayController {

  static function notifyCallback() {
    $class = new static();
    $class->_notifyCallback();
  }

  protected function getAppId() {
    return variable_get('wx_mini_program_mini_app_id');
  }

  protected function getNotifyUrl() {
    global $base_url;
    return $base_url . '/wx-pay/notify_url';
  }
}
